<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;
class Article extends Controller
{
    public function index()
    {
        $res = Db::name('article')->select();
        // dump($res);
        // exit;
        $this->assign('res',$res);
        return $this->fetch();
    }
}
